<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\jui\DatePicker;

/* @var $this yii\web\View */
/* @var $model app\modules\sysConfig\models\search\SmstemplateSearch */
/* @var $form yii\bootstrap\ActiveForm */
?>

<div class="smstemplate-search">

    <?php
    $form = ActiveForm::begin([
                'action' => ['index'],
                'method' => 'get',
    ]);
    ?>
    <div class="col-sm-4">
        <?= $form->field($model, 'smstempltpk') ?>
    </div>
    <div class="col-sm-4">
        <?php echo $form->field($model, 'type')->dropDownList(['1' => '回访短息', '2' => '新标通知短息', '3' => '恭贺短信']); ?>
    </div>
    <div class="col-sm-4">
        <?= $form->field($model, 'content') ?>
    </div>
    <div class="col-sm-4">
        <?=
                    $form->field($model, 'createtime')->
                    widget(DatePicker::className(), ['dateFormat' => 'yyyy-MM-dd'])
            ?>
    </div>
    <div class="col-sm-4">
<?= $form->field($model, 'createuser') ?>
    </div>

    <div class="form-group-butons">
<?= Html::submitButton('查询', ['class' => 'btn btn-primary']) ?>
    <?= Html::resetButton('重置', ['class' => 'btn btn-default']) ?>
    </div>

<?php ActiveForm::end(); ?>

</div>
